package com.yqya.locale.i18n.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

import com.yqya.locale.i18n.utils.MessageUtils;

/**
 * 用户登录
 *
 * @author Kevin
 * @date 2019-07-14
 */
@RestController
public class UserLoginController {

    /**
     * 登录页面
     */
    @GetMapping("/")
    public ModelAndView index() {
        System.out.println("++++++:" + MessageUtils.get("user.title"));
        return new ModelAndView("user/login");
    }

}
